﻿@{
    ViewBag.Title = "";
}

@using Nop.Admin.Models.Shops
@model Nop.Admin.Models.Shops.ShopListModel

    <div class="section-header">
        <div class="options">
            
            <a href="@Url.Action("Create","Shop")">@T("Admin.Shop.Save")</a>
        </div>
    </div>
@if (Model != null)
{
 


    <div class="t-grid">

        <table>
            <thead class="t-grid-header">
                <tr>
                    <th class="t-header">shop name</th>
                    <th class="t-header">owner name</th>

                </tr>
            </thead>
            <tbody>
                @foreach (ShopModel item in Model.Shops)
                {
                    <tr>
                        <td>
                            @item.ShopName
                        </td>
                        <td>
                            @item.Owner.Username
                        </td>
                    </tr>
                }
            </tbody>
        </table>
    </div>
   
}





